/* FluxHosting Node Status Panel Styles */
.flux-container {
    --flux-bg: #0f1115;
    --flux-card-bg: linear-gradient(135deg, rgba(28, 30, 38, 0.8) 0%, rgba(22, 24, 29, 0.8) 100%);
    --flux-accent: #3e89ff;
    --flux-accent-gradient: linear-gradient(135deg, #3e89ff 0%, #2d63d9 100%);
    --flux-text: #ffffff;
    --flux-text-secondary: #99a1b3;
    --flux-danger: #ff4444;
    --flux-warning: #ffaa00;
    --flux-success: #00ff9d;
    --flux-border: rgba(255, 255, 255, 0.1);

    width: 100%;
    padding: 5px;
    color: var(--flux-text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.flux-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, max-content));
  gap: 20px;
  justify-content: center; 
}

.flux-node {
    background: var(--flux-card-bg);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--flux-border);
}

.flux-node-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.flux-node-name {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    background: var(--flux-accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.flux-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.flux-status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.flux-status-indicator.online {
    background: var(--flux-success);
    box-shadow: 0 0 10px var(--flux-success);
}

.flux-status-indicator.offline {
    background: var(--flux-danger);
    box-shadow: 0 0 10px var(--flux-danger);
}

.flux-metrics {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.flux-metric {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.flux-metric-header {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--flux-text-secondary);
}

.flux-progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

/* Add these styles to your existing CSS */
.flux-progress-bar {
    height: 100%;
    width: 0;
    transition: width 0.3s ease;
}

/* Progress bar gradients */
.flux-progress-bar.progress-low {
    background: linear-gradient(90deg, #00ff9d 0%, #00ff9d 100%);
}

.flux-progress-bar.progress-medium {
    background: linear-gradient(90deg, #ffaa00 0%, #ffaa00 100%);
}

.flux-progress-bar.progress-high {
    background: linear-gradient(90deg, #ff4444 0%, #ff4444 100%);
}

/* Glow effects */
.flux-progress-bar.progress-low {
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.3);
}

.flux-progress-bar.progress-medium {
    box-shadow: 0 0 10px rgba(255, 170, 0, 0.3);
}

.flux-progress-bar.progress-high {
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.3);
}

.flux-progress-bar.warning {
    background: var(--flux-warning);
}

.flux-progress-bar.critical {
    background: var(--flux-danger);
}
/*
.flux-server-metrics {
    display: flex;
    justify-content: center;
    padding-top: 20px;
    border-top: 1px solid var(--flux-border);
}

.flux-server-metric {
    text-align: center;
}

.flux-metric-value {
    font-size: 28px;
    font-weight: 600;
    background: var(--flux-accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
}

.flux-metric-label {
    font-size: 14px;
    color: var(--flux-text-secondary);
}
/* Style 1 end*/

.flux-server-metrics {
    display: flex;
    justify-content: center;
    padding-top: 20px;
    border-top: 1px solid var(--flux-border);
}

.flux-server-metric {
    text-align: center;
    min-width: 100px;
}

.flux-metric-value {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 2px;
}

.flux-latency {
    color: inherit !important;
}

.flux-metric-label {
    font-size: 0.8em;
    color: #999;
}

.flux-error {
    text-align: center;
    padding: 20px;
    color: var(--flux-danger);
    background: rgba(255, 68, 68, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 68, 68, 0.2);
}

@media (max-width: 768px) {
    .flux-grid {
        grid-template-columns: 1fr;
    }
.flux-wrapper {
padding-bottom: 30px;
}
}
